package net.zretc.service;

import net.zretc.entity.Cart;

import java.util.List;

public interface CartService {
    List<Cart> findAll();

    List<Cart> findByUserId(Integer userId);

    int insert(Cart cart);

    int update(Cart cart);

    int delete(Integer cartId);
}
